SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cdbabe9a90af1bcfbf24b580f1136af1a21764b6f9d44d72be14ffaa1a9becfe' 
  AND token = 'oPBAy3f8G/8pB1msUkuY2ngO+STevvfzz/PgYWpQM6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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