SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '074cafcf9c336976bc1a2d9afeca6ac5d62e7da2fa9a071d6e8aa7ba155970c9' 
  AND token = 'JxJVrXi4ifkI9im6nd0HRXt42lVuhdyqeMxcanJ3ZTc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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