SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f9e1ff86102ee50e17213cdeb9a535d3a4a8191ce95d895daf57416c055917b0' 
  AND token = 'maLUoIieGc1cDXE4BzRmvAdKf+3Ps3EIkuwH4KSvvE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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