SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a97f009dbfff734d7eb9e1d414cb32cbe1868371216ae2edd7d30f0d23eecbf' 
  AND token = 'D0saN0A3KAEiwBA16Pi+vQyxd+WYtfllnnh2Hzu9JrE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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