SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1997316361e0e67e822be260849089282503f19b1c1abdd1bb612a66682eb7d8' 
  AND token = 'Q7W5235nzZ0RvITaUbNunTFI+2qJ4rM8cLVYkjD03E8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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