SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d5a1221dbe3fef6e5ef40dcc111fe69916426c68c4e2913f012b0f6d7a5d2a7' 
  AND token = 'AUEHvwA6h9tu6lKyONrb2JPiOKBKGhslF4Sad2QmdeU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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