SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ec3342900b43351de775726738310835f332e806330e9dec6299132353fe6eb' 
  AND token = 'BIbRdbL0k0kglKiCHVpHQH7BR+hnhgco+OJRHlBhPzE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}