SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7acc41a6aca8fe20a4d0e63f672691a30fe386d01f2ceb03c6dea9c39bc8a243' 
  AND token = 'Qpv4CtUOiwJDGrHZ2SVoCmFajdbNYDvAnQ2M2U787Vg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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