SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '740a1a8a94590ec384bbdb6015e1eb91bc0531d4c9baa073b3ac4c7b10654ea5' 
  AND token = 'ZPIbnufhw1oUbRF4QGV5IQ1ITNUQxglZQ0U1x26AQdI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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