SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf471c984f320a26f8fd3a938ad2c6ab3aa1661ecc6e8b194080187a6bf2f01f' 
  AND token = 'b1Xo0JpgQNuxM4A53oLbPIyrZOp1ghVnzbFvul8aGuM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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