SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49fe128a349cae47ef57ca0888378167781dcf4385da77d2467f402d64add43c' 
  AND token = 'ZRoijNCIBI6x38ebr74BWp0lNVbLmXa5HtqdoxIHgfg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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