SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25171e0c64baa838f7dd63b8ec097dcdb1e57b9ae03268f0b4439272a4e423d6' 
  AND token = 'HEfM6UoBoKxEPp6CuEzhfJcIrSqC4YXgtPx7057jsJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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