SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f10fea2b684aaf43c9393fab6f95f67de2a7c296d043343fbe0eeb6f75a74439' 
  AND token = '2qJ5quLfFMBpwx+GjE6ry3c3ZgAXrX3yCC2rtRpPxeQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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