SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b968d38a4115194ce308c3ce3eb3fe18dfaa045a30c631cddf0023101433e355' 
  AND token = '90+tlyh2pQ+t80x7YE4TQTibgPXnq166WLmZipFGYmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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