SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05d80413c50dcddf6ac6eaa23c5578694f1eac82497e5b285333d9a359811bbe' 
  AND token = 'zI+Dv+2ykHBbjTfh3Qc6dq4rRJIJuNbAsFeC0VTaNmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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