SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42b2fc1e1b3ea4f4bbd307520276ab514a23f33d1da2a406014a07162e114522' 
  AND token = 'NHmIMaXbJv+iFJowB9qPXmbMVuqBW0jjaDunM0kwXFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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