SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77788ba4a44cf9045ecc96bb001bf11ab3230d39e2306d1fc0642fcabd895046' 
  AND token = 'HByGapcLaotTRD5vMJuK3xyTutKv1u4dYP8d5JvwyfM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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