SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a153b63a669b01a961d337146bcb0565b46009ba2141fecfa67ed2616ac984b5' 
  AND token = 'P1KvDaKMf7Jb4ydRJ3s0SwZttO7BmmVz6DIEWXeOxQ4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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