SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4bf49f45a356136d06868fe86cd8612f72997eb687edb64a58d9e7509cb8f01c' 
  AND token = 'QmOV07MUQBg87GapVuBwY6EFemfX/FvC8QMXJ6V5ie8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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