SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff8a4dbbe52b132c52b5f1b7c54cd112597e0f2c3ea77a09016099923ec97f0b' 
  AND token = 'hHRykf4VMadQqy/yecIysaSmVQtQnSu7M3XPp5Lfzmg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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