SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b21b88820766ad5d6a5d3675b3ae8849760248033dd30e31ba1cacdb0f075af7' 
  AND token = 'TOfkIvAxRVtnPYb2Fnd3CLOpvWJrRWF7MIz+d3ky5/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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