SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3fdd0937bfe417fde8f641a052e29ba98354506d3925dff452583396de71d3f2' 
  AND token = 'ndwhQvKEXN5E6CVXMx/uYay6iK8X9i4k4tpAfluw1Vc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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