SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fa3849f0d27df9f19a280676834cb6952112705ccf07851c9fbd1d8db5a5327' 
  AND token = 'Ff7ws4COo4zK1ox/x3rRsynQTTcagUS9NatFQzDl+as=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00068

JSON explain

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