SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51612251558dd95d3a9957b0610e26938e2357fd3efb9430d42095c47feb8313' 
  AND token = 'zs+8KFQL3Eu9tF0F56Xguo6Ov6SvSjcutXLV2Tar4uw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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