SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c0983096641773ddb029d7915df992292f3b4d3f4c49f0bf0b160013132c7eb' 
  AND token = 'OLXUMXWUKWPXI4EW1h0Irzi25vWE0FNillId9qqzmyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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